const AddressRules: UniHelper.UniFormsRules = {
  name: {
    rules: [
      { required: true, errorMessage: '请输入收货人姓名' },
      { maxLength: 10, errorMessage: '收货人姓名不能超过10个字符' },
    ],
  },
  telephone: {
    rules: [
      { required: true, errorMessage: '请输入收货人电话' },
      { pattern: /^1[3456789]\d{9}$/, errorMessage: '请输入正确的收货人电话' },
    ],
  },
  addressInfo: {
    rules: [{ required: true, errorMessage: '请选择收货地址' }],
  },
  address: {
    rules: [{ required: true, errorMessage: '请输入详细地址' }],
  },
}
export default AddressRules
